Quicksort and Randomized Incremental Constructions

نویسنده

  • Kurt Mehlhorn
چکیده

This is Section 5.4 in Mehlhorn/Sanders [DMS14, MS08] Quicksort is a divide-and-conquer algorithm. Let S be the set to be sorted. We select a uniformly random element p from S and split S into three parts. The set S< of elements smaller than p, the set S= of elements equal to p and the set S> of elements larger than p. The element p is usually called the pivot. Then we apply the algorithm recursively to S< and S>.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Limited Randomness

7 A Sketch of a Research Immersion Lab/Master Thesis: Randomized Algorithms with Limited Randomness 7 7.1 Experimental Work: Quicksort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 7.2 Experimental Work: Randomized Incremental Constructions . . . . . . . . . . . . . . . . 7 7.3 Theoretical Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....

متن کامل

Four Results on Randomized Incremental Constructions

Raimund Seidel§ We prove four results on randomized incremental constructions (RIes): • an analysis of the expected behavior under insertion and deletions, • a fully dynamic data structure for convex hull mamtenance in arbitrary dimensions, • a tail estimate for the space complexity of RIes, • a lower bound on the complexity of agame related to RIes.

متن کامل

Blocked Randomized Incremental Constructions

Randomized incremental constructions are widely used in computational geometry, but they perform very badly on large data because of their inherently random memory access patterns. We define an insertion order which removes enough randomness to significantly improve performance, but leaves enough randomness so that the algorithms remain theoretically optimal.

متن کامل

A Noble Randomized Quicksort with a Random Number Generator

Sorting is a well-known computational problem. Sorting means arranging a set of records (or a list of keys) in some (increasing or decreasing) order. Randomized algorithms often have low complexity and are associated to robustness bounds, which are generally less conservative than the classical ones. This paper presents a noble randomized Quicksort with a random number generator. This randomize...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016